package org.neurone.userspace.dao;

public class DaoServerMock implements DaoServer {
	private UserInfoDao userInfoDao;
	private UserDetailDao userDetailDao;
	private MessageDao messageDao;
	private ApplicationDao applicationDao;
	
	@Override
	public UserInfoDao getUserInfoDao() {
		return this.userInfoDao;
	}

	@Override
	public UserDetailDao getUserDetailDao() {
		return this.userDetailDao;
	}

	public DaoServerMock setUserInfoDao(UserInfoDao userInfoDao) {
		this.userInfoDao = userInfoDao;
		return this;
	}

	public DaoServerMock setUserDetailDao(UserDetailDao userDetailDao) {
		this.userDetailDao = userDetailDao;
		return this;
	}

	@Override
	public MessageDao getMessageDao() {
		
		return this.messageDao;
	}

	public DaoServerMock setMessageDao(MessageDao messageDao) {
		this.messageDao = messageDao;
		return this;
	}
	
	public DaoServerMock setApplicationDao(ApplicationDao applicationDao) {
		this.applicationDao = applicationDao;
		return this;
	}

	@Override
	public ApplicationDao getApplicationDao() {
		return this.applicationDao;
	}

}
